
function sum(num1: number = 0, num2: number = 0) {
  return num1 + num2;
}

let res = sum(1, 2);
console.log(res);
